/* ===== WATER CYCLE LEARNING TOOL - COMPLETE STYLES ===== */

/* ===== MODAL & CONTAINER ===== */
.nine-watercycle-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-bg);
  background-size: 400% 400%;
  animation: nineWaterCycleGradientShift 15s ease infinite;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  overflow-y: auto;
  padding: 20px;
}

.nine-watercycle-modal.active {
  display: flex;
}

@keyframes nineWaterCycleGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.nine-watercycle-container {
  background: var(--secondary-bg);
  border-radius: 50px;
  padding: 40px 0px;
  max-width: 1500px;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.25),
    0 20px 50px rgba(74, 144, 226, 0.3),
    inset 0 2px 5px rgba(255, 255, 255, 0.8);
  animation: none;
  position: relative;
  border: none;
  border-image: linear-gradient(135deg, #4a90e2, #87ceeb, #90ee90, #ffd700) 1;
}

@keyframes nineWaterCycleSlideUp {
  from {
    transform: translateY(100px) scale(0.8);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ===== CLOSE BUTTON ===== */
.nine-watercycle-close-btn {
  position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-bg);
    color: #1e1e1e;
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    font-size: 3.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-weight: bold;
    border: 4px solid white;
    height: auto;
    width: var(--fs-26-60);
    aspect-ratio: 1 / 1;
    line-height: 1;
    font-size: var(--fs-12-24);
    z-index: 9999;
}

.nine-watercycle-close-btn:hover {
  transform: scale(1.2) rotate(90deg);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.7);
}

/* ===== HEADER ===== */
.nine-watercycle-header {
  text-align: center;
  margin-bottom: 35px;
  animation: nineWaterCycleBounceIn 0.8s ease-out;
}

@keyframes nineWaterCycleBounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.nine-watercycle-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  background: linear-gradient(135deg, #4a90e2 0%, #00d4ff 50%, #87ceeb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 3px;
  animation: nineWaterCycleRainbowText 5s linear infinite;
  background-size: 200% 200%;
}

@keyframes nineWaterCycleRainbowText {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.nine-watercycle-subtitle {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #2c3e50;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(44, 62, 80, 0.3);
}

/* ===== SCORE BAR ===== */
.nine-watercycle-score-bar {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.nine-watercycle-score-item {
  background: white;
  border-radius: 30px;
  padding: 20px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 4px solid #87ceeb;
  transition: all 0.3s ease;
}

.nine-watercycle-score-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(135, 206, 235, 0.4);
}

.nine-watercycle-score-item.nine-watercycle-total {
  background: var(--primary-bg);
  animation: nineWaterCyclePulseGlow 2s infinite;
  border: none;
  box-shadow: none;
  animation: none;
}

@keyframes nineWaterCyclePulseGlow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
  }

  50% {
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.7);
  }
}

.nine-watercycle-score-label {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: #666;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nine-watercycle-score-value {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #4a90e2;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(74, 144, 226, 0.2);
}

.nine-watercycle-total .nine-watercycle-score-value {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nine-watercycle-total .nine-watercycle-score-label {
  color: #fff;
}

/* ===== NAVIGATION TABS ===== */
.nine-watercycle-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.nine-watercycle-tab-btn {
  background: linear-gradient(135deg, #e8f5ff 0%, #d4efff 100%);
  color: #2c3e50;
  border: 3px solid #87ceeb;
  padding: 18px 30px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  border-radius: 35px;
  cursor: pointer;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}

.nine-watercycle-tab-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.nine-watercycle-tab-btn.active {
  background: linear-gradient(135deg, #4a90e2 0%, #00d4ff 100%);
  color: white;
  border-color: #2e5c8a;
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5);
  transform: translateY(-3px) scale(1.08);
}

.nine-watercycle-tab-text {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  text-align: center;
}

/* ===== CONTENT SECTIONS ===== */
.nine-watercycle-content-section {
  display: none;
  animation: nineWaterCycleFadeSlide 0.5s ease-out;
}

.nine-watercycle-content-section.active {
  display: block;
}

@keyframes nineWaterCycleFadeSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nine-watercycle-learn-card {
  background: white;
  border-radius: 40px;
  padding: var(--fs-12-24);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 5px solid #87ceeb;
}

/* ===== SECTION HEADER ===== */
.nine-watercycle-section-header {
  text-align: center;
  margin-bottom: 35px;
  position: relative;
}

.nine-watercycle-section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, #4a90e2 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(74, 144, 226, 0.2);
}

.nine-watercycle-section-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #2c3e50;
  font-weight: 700;
}

/* ===== ANIMATION SECTION ===== */
.nine-watercycle-animation-content {
  max-width: 1100px;
  margin: 0 auto;
}

.nine-scene {
  width: 100%;
  height: 500px;
  position: relative;
  background: linear-gradient(to bottom, #87ceeb 0%, #b8e6f5 50%, #90ee90 100%);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
}

.nine-sun {
  position: absolute;
  top: 30px;
  right: 80px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #ffd700 0%, #ffa500 100%);
  border-radius: 50%;
  animation: nineSunGlow 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

@keyframes nineSunGlow {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.nine-cloud {
  position: absolute;
  background: white;
  border-radius: 100px;
  opacity: 0;
  transition: all 1s ease-in-out;
  transform-origin: center;
}

.nine-cloud.nine-visible {
  opacity: 0.9;
  animation: nineFloat 8s ease-in-out infinite;
}

.nine-cloud.nine-rain-ready {
  transform: scale(1.3);
  filter: brightness(0.9);
}

.nine-cloud.nine-raining {
  transform: scale(0.8);
  filter: brightness(0.7);
}

.nine-cloud::before,
.nine-cloud::after {
  content: "";
  position: absolute;
  background: white;
  border-radius: 100px;
  transition: all 1s ease-in-out;
}

.nine-cloud1 {
  width: 120px;
  height: 50px;
  top: 80px;
  left: 100px;
}

.nine-cloud1::before {
  width: 70px;
  height: 60px;
  top: -30px;
  left: 20px;
}

.nine-cloud1::after {
  width: 60px;
  height: 50px;
  top: -20px;
  right: 20px;
}

.nine-cloud2 {
  width: 100px;
  height: 40px;
  top: 120px;
  left: 300px;
}

.nine-cloud2::before {
  width: 60px;
  height: 50px;
  top: -25px;
  left: 15px;
}

.nine-cloud2::after {
  width: 50px;
  height: 40px;
  top: -15px;
  right: 15px;
}

.nine-cloud3 {
  width: 90px;
  height: 35px;
  top: 100px;
  left: 500px;
}

.nine-cloud3::before {
  width: 50px;
  height: 45px;
  top: -20px;
  left: 15px;
}

.nine-cloud3::after {
  width: 45px;
  height: 35px;
  top: -15px;
  right: 15px;
}

.nine-cloud4 {
  width: 80px;
  height: 30px;
  top: 150px;
  left: 400px;
}

.nine-cloud4::before {
  width: 45px;
  height: 40px;
  top: -18px;
  left: 12px;
}

.nine-cloud4::after {
  width: 40px;
  height: 30px;
  top: -12px;
  right: 12px;
}

@keyframes nineFloat {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(20px) translateY(-10px);
  }
}

.nine-ocean {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, #4a90e2 0%, #2e5c8a 100%);
  overflow: hidden;
}

.nine-wave {
  position: absolute;
  width: 200%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.2)"/></svg>')
    repeat-x;
  animation: nineWave 15s linear infinite;
}

.nine-wave:nth-child(2) {
  animation-delay: -5s;
  opacity: 0.5;
}

@keyframes nineWave {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.nine-raindrop {
  position: absolute;
  width: 3px;
  height: 15px;
  background: linear-gradient(to bottom, transparent, #4a90e2);
  border-radius: 50%;
  animation: nineFall 1.5s linear infinite;
  opacity: 0;
}

@keyframes nineFall {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(300px);
  }
}

.nine-evaporation-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: nineEvaporate 3s ease-out infinite;
  opacity: 0;
}

@keyframes nineEvaporate {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-200px) scale(1.5);
  }
}

.nine-mountain {
  position: absolute;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 200px solid #8b7355;
}

.nine-mountain::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 200px solid #a0826d;
  transform: translateX(100px);
}

.nine-label {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  color: #2c3e50;
  border: 2px solid #4a90e2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 0.9em;
}

.nine-label.nine-show {
  opacity: 1;
}

/* ===== CONTROLS ===== */
.nine-controls {
  margin-top: 30px;
  text-align: center;
}

.nine-stage-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
  padding: 0 10px;
}

.nine-stage-btn {
  width: 100%;
  min-width: 120px;
  padding: clamp(10px, 2vw, 15px) clamp(15px, 3vw, 30px);
  font-size: clamp(0.85em, 2vw, 1.1em);
  font-family: inherit;
  background: var(--primary-bg);
  color: #1e1e1e;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.nine-stage-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.nine-stage-btn.active {
  background: #1e1e1e;
  animation: ninePulse 1s ease-in-out infinite;
  color: #fff;
}

@keyframes ninePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.nine-info-box {
  background: linear-gradient(135deg, #fff9c4 0%, #ffe082 100%);
  padding: clamp(12px, 3vw, 20px);
  border-radius: 20px;
  margin-top: clamp(15px, 3vw, 20px);
  border: 3px solid #ffd54f;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.nine-info-box h3 {
  color: #f57c00;
  margin-bottom: clamp(8px, 2vw, 10px);
  font-size: clamp(1.1em, 2.5vw, 1.5em);
}

.nine-info-box p {
  color: #5d4037;
  font-size: clamp(0.85em, 2vw, 1.1em);
  line-height: 1.6;
}

.nine-play-all-btn {
  width: clamp(200px, 80%, 400px);
  padding: clamp(12px, 2.5vw, 20px) clamp(20px, 4vw, 40px);
  font-size: clamp(1em, 2.5vw, 1.3em);
  font-family: inherit;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(17, 153, 142, 0.4);
  font-weight: bold;
  margin: clamp(10px, 2vw, 15px) auto;
  display: block;
}

.nine-play-all-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(17, 153, 142, 0.6);
}

/* ===== LEARNING SECTION ===== */
.nine-watercycle-learning-content {
  max-width: 1100px;
  margin: 0 auto;
}

.nine-rain-explanation {
  padding: clamp(15px, 3vw, 30px);
  background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
  border-radius: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nine-rain-explanation h2 {
  text-align: center;
  color: #1565c0;
  font-size: clamp(1.5em, 3vw, 2.2em);
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nine-fun-fact-box {
  background: white;
  border-radius: 20px;
  padding: clamp(15px, 3vw, 25px);
  margin-bottom: 20px;
  border: 3px solid #81d4fa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.nine-fun-fact-box:hover {
  transform: translateY(-5px);
}

.nine-fun-fact-box h3 {
  color: #0288d1;
  font-size: clamp(1.2em, 2.5vw, 1.8em);
  margin-bottom: 15px;
}

.nine-fun-fact-box p {
  color: #37474f;
  font-size: clamp(1em, 2vw, 1.2em);
  line-height: 1.6;
}

.nine-fun-point {
  display: block;
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  color: #37474f;
  font-size: clamp(1em, 2vw, 1.2em);
}

.nine-fun-point:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #03a9f4;
  border-radius: 50%;
}

.nine-stage-detail {
  background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-left: 6px solid #4ecdc4;
  transition: all 0.3s ease;
}

.nine-stage-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.nine-stage-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #4a90e2;
  margin-bottom: 15px;
  font-weight: 900;
}

.nine-stage-description {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: #2d3436;
  line-height: 1.6;
  margin: 0;
}

/* ===== QUIZ SECTION ===== */
.nine-watercycle-quiz-progress {
  margin-bottom: 30px;
}

.nine-watercycle-progress-bar {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  height: 25px;
  overflow: hidden;
}

.nine-watercycle-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4a90e2 0%, #00d4ff 100%);
  border-radius: 20px;
  transition: width 0.5s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.nine-watercycle-quiz-area {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
  border-radius: 25px;
  padding:var(--fs-12-24);
  text-align: center;
}

.nine-watercycle-quiz-question {
  text-align: center;
  margin-bottom: 40px;
}

.nine-watercycle-question-text {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #4a90e2;
  font-weight: bold;
  animation: nineQuestionPulse 2s infinite;
}

@keyframes nineQuestionPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.nine-watercycle-quiz-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.nine-watercycle-quiz-option {
  cursor: pointer;
  transition: all 0.3s ease;
}

.nine-watercycle-quiz-option:hover {
  transform: translateY(-10px) scale(1.1);
}

.nine-watercycle-option-content {
  background: white;
  border-radius: 25px;
  padding: 1em;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 5px solid #e0e0e0;
  transition: all 0.3s ease;
}

.nine-watercycle-quiz-option:hover .nine-watercycle-option-content {
  border-color: #4a90e2;
  box-shadow: 0 15px 40px rgba(74, 144, 226, 0.3);
}

.nine-watercycle-option-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #2d3436;
}

.nine-watercycle-quiz-option.nine-watercycle-correct-answer
  .nine-watercycle-option-content {
  border-color: #4caf50;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  animation: nineCorrectPulse 0.6s;
}

@keyframes nineCorrectPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.nine-watercycle-quiz-option.nine-watercycle-wrong-answer
  .nine-watercycle-option-content {
  animation: nineWrongShake 0.5s;
}

@keyframes nineWrongShake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-15px);
  }

  75% {
    transform: translateX(15px);
  }
}

.nine-watercycle-quiz-feedback {
  text-align: center;
  min-height: 80px;
}

.nine-watercycle-feedback-correct,
.nine-watercycle-feedback-wrong {
  display: inline-block;
  padding: 20px 40px;
  border-radius: 25px;
  animation: nineFeedbackPop 0.5s;
}

@keyframes nineFeedbackPop {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.nine-watercycle-feedback-correct {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 4px solid #4caf50;
}

.nine-watercycle-feedback-wrong {
  background: linear-gradient(135deg, #fff9e6 0%, #ffefba 100%);
  border: 4px solid #ffd700;
}

.nine-watercycle-feedback-text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #2e7d32;
}

.nine-watercycle-feedback-wrong .nine-watercycle-feedback-text {
  color: #ff8c00;
}

/* ===== COMPLETE BUTTON ===== */
.nine-watercycle-complete-btn {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  font-family: inherit;
  margin-top: 15px;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
}

.nine-watercycle-complete-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.nine-watercycle-btn-text {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

/* ===== CONFETTI ===== */
.nine-watercycle-confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10002;
  display: none;
}

.nine-watercycle-confetti-container.active {
  display: block;
}

.nine-watercycle-confetti {
  position: absolute;
  width: 12px;
  height: 12px;
  animation: nineConfettiFall 3s linear forwards;
  border-radius: 50%;
}

@keyframes nineConfettiFall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
.nine-watercycle-container::-webkit-scrollbar {
  width: 14px;
}

.nine-watercycle-container::-webkit-scrollbar-track {
  background: linear-gradient(
    135deg,
    rgba(135, 206, 235, 0.3),
    rgba(144, 238, 144, 0.3)
  );
  border-radius: 10px;
}

.nine-watercycle-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #87ceeb 0%, #4a90e2 100%);
  border-radius: 10px;
  border: 2px solid white;
}

.nine-watercycle-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #4a90e2 0%, #87ceeb 100%);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nine-watercycle-container {
    padding: 30px;
  }

  .nine-scene {
    height: 300px;
  }

  .nine-watercycle-quiz-options {
    gap: 30px;
  }

  .nine-sun {
    width: 60px;
    height: 60px;
    top: 20px;
    right: 40px;
  }

  .nine-cloud1 {
    width: 90px;
    height: 40px;
    top: 60px;
    left: 50px;
  }

  .nine-cloud1::before {
    width: 55px;
    height: 45px;
    top: -25px;
  }

  .nine-cloud1::after {
    width: 45px;
    height: 40px;
    top: -15px;
  }

  .nine-cloud2 {
    width: 80px;
    height: 35px;
    top: 90px;
    left: 200px;
  }

  .nine-cloud2::before {
    width: 50px;
    height: 40px;
    top: -20px;
  }

  .nine-cloud2::after {
    width: 40px;
    height: 35px;
    top: -12px;
  }

  .nine-cloud3 {
    width: 70px;
    height: 30px;
    top: 70px;
    left: 320px;
  }

  .nine-cloud3::before {
    width: 45px;
    height: 35px;
    top: -18px;
  }

  .nine-cloud3::after {
    width: 35px;
    height: 30px;
    top: -10px;
  }

  .nine-cloud4 {
    width: 65px;
    height: 25px;
    top: 110px;
    left: 260px;
  }

  .nine-cloud4::before {
    width: 40px;
    height: 35px;
    top: -15px;
  }

  .nine-cloud4::after {
    width: 35px;
    height: 25px;
    top: -10px;
  }

  .nine-mountain {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 100px solid #8b7355;
    bottom: 100px;
  }

  .nine-mountain::before {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 150px solid #a0826d;
    left: -100px;
  }

  .nine-ocean {
    height: 110px;
  }

  .nine-label {
    padding: 6px 12px;
    font-size: 0.8em;
  }

  .nine-stage-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .nine-watercycle-container {
    padding: 25px;
    border-radius: 35px;
  }

  .nine-scene {
    height: 250px;
  }

  .nine-nav-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .nine-watercycle-tab-btn {
    width: 100%;
    min-width: auto;
  }

  .nine-watercycle-quiz-options {
    flex-direction: column;
    align-items: center;
  }

  .nine-mountain {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 80px solid #8b7355;
    bottom: 70px;
  }

  .nine-mountain::before {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 80px solid #a0826d;
    left: -80px;
  }

  .nine-ocean {
    height: 70px;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
